package com.dao;

import com.dto.ReaderCommentDTO;
import com.vo.ReaderCommentVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author linyukun
 * @date 2022/10/10 16:42
 */
@Mapper
@Repository
public interface ReaderCommentDao {
    Integer addReaderComment(@Param("dto") ReaderCommentDTO dto);

    Integer delReaderComment(@Param("dto") ReaderCommentDTO dto);

    List<ReaderCommentVO> getReaderCommentList(@Param("dto") ReaderCommentDTO dto);

    Integer replyReaderReply(@Param("dto") ReaderCommentDTO dto);
}
